[D]
[D]
LENGTH, ANGLE, AND DOT PRODUCT IN THE PLANE
By the Pythagorean theorem, the "length" of the vector from O = (0,0)
to A = (a,b) is √(a
2 + b
2), denoted |A|.
Note that |A| >= 0 for all A, and |A| = 0 if and only if A = O.
Furthermore |cA| = |c||A| where |c| denotes the absolute value of the
scalar c,
Also the distance from A to C is given by the length of the vector C-A,
and |C-A| < |C| + |A|. This is called the "triangle
inequality".
Each of these three properties can be proved by using coordinate.
Condition for Perpendicularity: By the Pythagorean Theorem, the
vectors A and C are the legs of a right triangle if |A|
2 +
|C|
2 =
|C-A|
2, which in coordinates becomes a
2 + b
2
+ c
2 + d
2 = (c-a)
2 +
(d-a)
2 = c
2 - 2ac + a
2 + d
2
-2db + b
2. This condition is
then equivalent to ac + bd = 0. We define the "dot product" or
"inner product" of the
vectors A = (a,b) and C = (c,d) to be ac + bd = A*C.
[D]
Note that A*(C+E) = A*C + A*E and (tA)*C = t(A*C). Also A*C = C*A
for any two vectors A and C, and A*A = |A|
2, which equals
zero if and
only if
A = O. Note also that the dot product of any vector with the zero
vector is 0, so we say that O is perpendicular to all vectors.
Note that (C-A)*(C-A) = C*(C-A) + (-A)*(C-A) = C*C - C*A - A*C + A*A =
C*C - 2A*C
+ A*A.
Exercise: Find the value of t such that the vector A + tC is
perpendicular to C, where C is a non-zero vector.
If A and C are non-zero vectors that make an angle θ at the
origin, then (|A|sin(θ))
2 = |C-A|
2 -
(|C|-|A|cos(θ))
2
=
|C-A|
2 - |C|
2 + 2|A||C|cos(θ) -
(|A|cos(θ))
2, from which
it follows that 2|A||C|cos(θ) = |A|
2 + |C|
2
- |C-A|
2 = A*A +
C*C - (C-A)*(C-A) = 2A*C, by the above calculation. Therefore A*C
= |A||C|cos(θ), and cos(θ) = A*C/(|A||C|).
[D]
Exercise: Find the cosine of the angle between A =
(cos(a),sin(a)) and C = (cos(c),sin(c)) where 0 < a < c <
π/2.
Exercise: Show that the area of the triangle with sides A and C
equals (1/2)|A||C|sin(θ) = (1/2)√((A*A)(C*C)-(A*C)
2) =
(1/2)|ad - bc| Then observe that the area of the parallelogram with
vertices O, A, A+C, and C is equal to |ad - bc|.